package com.clwl.supervise.superviseapp.mapper.risk;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clwl.supervise.superviseapp.entity.risk.JgRiskGrade;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface JgRiskGradeMapper extends BaseMapper<JgRiskGrade> {
    List<JgRiskGrade> selectBySupProcessAndRegular(@Param("supProcess") String supProcess,@Param("regular") String regular);

    JgRiskGrade selectBySupProcessAndRegularAndName(@Param("supProcess") String supProcess,@Param("regular") String regular,@Param("gradeName")  String gradeName);
}